home *** CD-ROM | disk | FTP | other *** search
- /*************************************************************************
- *
- * NSSDC/CDF Header file for WINDOW
- *
- * Version 2.0, 27-Feb-92, ST Systems (STX)
- *
- * Modification history
- *
- * V1.0 29-Jan-91, H Leckner Original vesion (for CDF V2.0).
- * V1.1 1-Oct-91, J Love Modified for IRIX 4.0 port.
- * V1.2 15-Oct-91, H Leckner Changed for IBM-RS6000 (AIX) port
- * V2.0 27-Feb-92, H Leckner IBM PC port. CDF V2.2.
- *
- ***************************************************************************/
-
- #if defined (ultrix)
- #include <cursesX.h>
- #else
- #if defined (unix)
- #include <curses.h>
- #else
- #if defined(__MSDOS__)
- #include "curses.h"
- #endif
- #endif
- #endif
- #if defined (AIX)
- #include <term.h>
- #endif
- #if defined(unix) | defined(__MSDOS__)
- typedef WINDOW *WINDOWid;
- #else
- typedef long int WINDOWid;
- #endif
- #define NORMAL 0
- #define BOLD 1
- #define REVERSE 2
- #define BLINK 4
- #define BORDER 1
- #define NOBORDER 0
-
- #define _NORMAL
- #define A_VISLINEMASK 0x7f
- #if !defined(unix)
- void create_pasteboard (void);
- void set_cursor_mode(int mode);
- int window_attribute(WINDOWid window_id);
- void put_chars(WINDOWid vdid, char str[], int len, int row,int col,
- int erase_line,int video_type);
- void create_virtual_display(int num_rows, int num_cols, WINDOWid *vdid,
- int disp_type, int video_type);
- void paste_virtual_display(WINDOWid vdid, int row, int col);
- void repaste_virtual_display(WINDOWid vdid, int row, int col);
- #if defined(vms)
- void change_virtual_display(int num_rows, int num_cols, WINDOWid vdid,
- int disp_type, int video_type);
- #else
- void change_virtual_display(int num_rows, int num_cols, WINDOWid *vdid,
- int disp_type, int video_type);
- #endif
- void delete_virtual_display(WINDOWid vdid);
- void unpaste_virtual_display(WINDOWid vdid);
- void unpaste_virtual_display_only(WINDOWid vdid);
- void label_border(WINDOWid vdid, char byte_string[], int len);
- void delete_pasteboard (int erase_mode);
- void set_cursor_abs(WINDOWid vdid, int row, int col);
- void change_rendition(WINDOWid vdid, int row, int col, int num_rows,
- int num_cols, int video_type);
- void read_display(WINDOWid vdid, int row, char *s);
- void begin_display_update(WINDOWid vdid);
- void end_display_update(WINDOWid vdid);
- void end_display_update_nobox(WINDOWid vdid);
- void repaint_screen(void);
- void erase_display (WINDOWid vdid, int row, int col,
- int end_row, int end_col);
- void set_cursor_rel(WINDOWid vdid, int num_rows, int num_cols);
- void set_physical_cursor(int row, int col);
- void get_physical_cursor(int *row, int *col);
- void return_cursor_pos(WINDOWid vdid, int *row, int *col);
- #if defined(vms)
- void begin_pasteboard_update();
- void end_pasteboard_update();
- #endif
- #if defined(vms)
- void ring_bell(WINDOWid vdid);
- void read_input(int *tcode);
- #else
- void ring_bell(void);
- void read_input(WINDOWid vdid, int *tcode);
- #endif
- #endif
-
-
- #if defined(unix)
- void create_pasteboard ();
- void set_cursor_mode();
- int window_attribute();
- void put_chars();
- void create_virtual_display();
- void paste_virtual_display();
- void repaste_virtual_display();
- void change_virtual_display();
- void delete_virtual_display();
- void unpaste_virtual_display();
- void unpaste_virtual_display_only();
- void label_border();
- void delete_pasteboard ();
- void set_cursor_abs();
- void change_rendition();
- void read_display();
- void begin_display_update();
- void end_display_update();
- void repaint_screen();
- void erase_display ();
- void set_cursor_rel();
- void set_physical_cursor();
- void get_physical_cursor();
- void return_cursor_pos();
- void ring_bell();
- void read_input();
- #endif
-
-
-
-